package com.mo;

import org.junit.Test;

import java.util.Objects;

/**
 * @author moon.pan
 * @program mo-all
 * @apiNote
 * @since 2022/3/22
 */
public class NumberDemo {


    @Test
    public void one(){
        long i = 8;
        Long j = 8L;
        System.out.println(Objects.equals(i, 8));
        System.out.println(Objects.equals(j, 8));
    }

    @Test
    public void two(){
        Integer i = 7987987;
        Integer j = 7987986;
        System.out.println(i == j);
    }

}
